package com.shoulei.designpattern.ChainOfResponsibilityPattern;

/**
 * @ClassName:ConsoleLogger
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/4/14 16:41
 * @Verson:
 */
public class ConsoleLogger extends AbstractLogger{

    public ConsoleLogger(int level){
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Standard Console:Logger:" + message);
    }
}
